xenpaging: Add a check to Xen for EPT.
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 28 Jul 2010 06:54:40 +0000 (07:54 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 28 Jul 2010 06:54:40 +0000 (07:54 +0100)
commitafd4af82c3024b5adefd2665e661734b2102dea9
treeea41117a796424ae6fbcd7c531b8a4ff0eae3b96
parent4dff228603baee05a142af732a4131d36d620248
xenpaging: Add a check to Xen for EPT.

There isn't seem to be a way to directly check for EPT, so instead
check for HAP and an Intel processor. If EPT isn't enabled, then
return an error to the tool.

Signed-off-by: Patrick Colp <pjcolp@cs.ubc.ca>
xen/arch/x86/mm/mem_event.c